<form id='regForm'>
	<fieldset class="ui-corner-all">
		<legend>
			{lb_pr_inf}
		</legend>
		<div>
			<div class="cell p10">
				<label for="surname">
					{lb_surname}
				</label>
				<div class="rel">
					<input type="text" class="w_180 ui-widget-content validate[required]" id="surname" name="person[surname]"/>
				</div>
			</div>
			<div class="cell p10">
				<label for="name">
					{lb_name}
				</label>
				<div class="rel">
					<input type="text" class="w_180 ui-widget-content validate[required]" id="name" name='person[name]'/>
				</div>
			</div>
		</div>
		<div>
			<div class="cell p10">
				<label for="patronymic">
					{lb_patronymic}
				</label>
				<div class="rel">
					<input type="text" class="w_180 ui-widget-content" id="patronymic" name="person[patronymic]"/>
				</div>
			</div>
			<div class="cell p10">
				<label for="post">
					{lb_post}
				</label>
				<div class="rel">
					<input type="text" class="w_180 ui-widget-content" id="post" name="person[post]"/>
				</div>
			</div>
		</div>
		<div>
			<div class="cell p10">
				<label for="organization">
					{lb_organization}
				</label>
				<div class="rel">
					<input type="text" class="w_180 ui-widget-content" id="organization" name="person[organization]" />
				</div>
			</div>
			<div class="cell p10">
				<label for="degree">
					{lb_degree}
				</label>
				<div class="rel">
					<input type="text" class="w_180 ui-widget-content" id="degree" name="person[degree]"/>
				</div>
			</div>
			
		</div>
		<div id="nav1">
				{nav}
			</div>
	</fieldset>
	<fieldset class="ui-corner-all">
		<legend>
			{lb_co_inf}
		</legend>
		<div>
			<div class="cell p10">
				<label for="country">
					{lb_country}
				</label>
				<div class="rel">
					{countries}
				</div>
			</div>
			<div class="cell p10">
				<label for="phone">
					{lb_phone}
				</label>
				<div class="rel">
					<input class="w_180 ui-widget-content" type="text" value="" id="phone" name="person[phone]"/>
				</div>
			</div>
		</div>
		<div>
			<div class="cell p10">
				<label for="city">
					{lb_city}
				</label>
				<div class="rel">
					<input class="w_180 ui-widget-content validate[required]" type="text" id="city" name="person[city]"/>
				</div>
			</div>
			<div class="cell p10">
				<label for="addreess">
					{lb_address}
				</label>
				<div class="rel">
					<input class="w_180 ui-widget-content" type="text" id="address" name="person[address]"/>
				</div>
			</div>
		</div>
		<div id="nav2">
				{nav}
			</div>
	</fieldset>
	<fieldset class="ui-corner-all">
		<legend>
			{lb_au_inf}
		</legend>
		<div>
			<div class="cell p10">
				<label for="user_name">
					{lb_login}
				</label>
				<div class="rel">
					<input class="w_180 ui-widget-content validate[required,maxSize[20],minSize[2],ajax[ajaxUserCall]]" type="text" id="user_name" name="user[login]"/>
				</div>
			</div>
			<div class="cell p10">
				<label for="email">
					{lb_email}
				</label>
				<div class="rel">
					<input class="w_180 ui-widget-content validate[required,custom[email],minSize[2],maxSize[255]]" type="text" id="email" name="person[email]"/>
				</div>
			</div>
		</div>
		<div>
			<div class="cell p10">
				<label for="password">
					{lb_pass}
				</label>
				<div class="rel">
					<input class="w_180 ui-widget-content validate[required]" type="password" id="user_password" name="user[password]"/>
				</div>
			</div>
			<div class="cell p10">
				<label for="password_repeat">
					{lb_rep_pass}
				</label>
				<div class="rel">
					<input class="w_180 ui-widget-content validate[required,equals[user_password]]" type="password" id="password_repeat" name="user[password_repeat]"/>
				</div>
			</div>
		</div>
	</fieldset>
	<div id="buttons" class="ct_" style="margin-top: 10px">
		<a class='but m5 submit' data-url="user/new_" data-opt='{"action":"submit","icon":"check","diaOpt":{"resizable":false},"formId":"regForm"}'>{lb_reg}</a>
		<a class='but m5' data-opt='{"action":"cleareForm","icon":"close"}'>{lb_clear}</a>
		<a class='but m5' data-opt='{"action":"closeDialog","icon":"cancel"}'>{lb_cancel}</a>
	</div>
</form>